var e = require("../js/z-paging-static.js"), o = require("../js/z-paging-enum.js"), t = require("../../../../../common/vendor.js"), n = {
    name: "z-paging-load-more",
    data: function() {
        return {
            M: o.Enum.More,
            zTheme: {
                title: {
                    white: "#efefef",
                    black: "#a4a4a4"
                },
                line: {
                    white: "#efefef",
                    black: "#eeeeee"
                },
                circleBorder: {
                    white: "#aaaaaa",
                    black: "#c8c8c8"
                },
                circleBorderTop: {
                    white: "#ffffff",
                    black: "#444444"
                },
                flower: {
                    white: e.zStatic.base64FlowerWhite,
                    black: e.zStatic.base64Flower
                },
                indicator: {
                    white: "#eeeeee",
                    black: "#777777"
                }
            }
        };
    },
    props: [ "zConfig" ],
    computed: {
        ts: function() {
            return this.c.defaultThemeStyle;
        },
        c: function() {
            return this.zConfig || {};
        },
        ownLoadingMoreText: function() {
            return [ this.c.defaultText, this.c.loadingText, this.c.noMoreText, this.c.failText ][this.finalStatus];
        },
        finalStatus: function() {
            return this.c.defaultAsLoading && this.c.status === this.M.Default ? this.M.Loading : this.c.status;
        },
        finalLoadingIconType: function() {
            return this.c.loadingIconType;
        }
    },
    methods: {
        doClick: function() {
            this.$emit("doClick");
        }
    }
}, i = t._export_sfc(n, [ [ "render", function(e, o, n, i, a, c) {
    return t.e({
        a: !c.c.hideContent
    }, c.c.hideContent ? {} : t.e({
        b: c.c.showNoMoreLine && c.finalStatus === a.M.NoMore
    }, c.c.showNoMoreLine && c.finalStatus === a.M.NoMore ? {
        c: t.s({
            backgroundColor: a.zTheme.line[c.ts]
        }),
        d: t.s(c.c.noMoreLineCustomStyle)
    } : {}, {
        e: c.finalStatus === a.M.Loading && !!c.c.loadingIconCustomImage
    }, c.finalStatus === a.M.Loading && c.c.loadingIconCustomImage ? {
        f: c.c.loadingIconCustomImage,
        g: t.s(c.c.iconCustomStyle),
        h: c.c.loadingAnimated ? 1 : ""
    } : {}, {
        i: c.finalStatus === a.M.Loading && "flower" === c.finalLoadingIconType && !c.c.loadingIconCustomImage.length
    }, c.finalStatus !== a.M.Loading || "flower" !== c.finalLoadingIconType || c.c.loadingIconCustomImage.length ? {} : {
        j: t.s(c.c.iconCustomStyle),
        k: a.zTheme.flower[c.ts]
    }, {
        l: c.finalStatus === a.M.Loading && "circle" === c.finalLoadingIconType && !c.c.loadingIconCustomImage.length
    }, c.finalStatus !== a.M.Loading || "circle" !== c.finalLoadingIconType || c.c.loadingIconCustomImage.length ? {} : {
        m: t.s({
            borderColor: a.zTheme.circleBorder[c.ts],
            borderTopColor: a.zTheme.circleBorderTop[c.ts]
        }),
        n: t.s(c.c.iconCustomStyle)
    }, {
        o: t.t(c.ownLoadingMoreText),
        p: t.s({
            color: a.zTheme.title[c.ts]
        }),
        q: t.s(c.c.titleCustomStyle),
        r: c.c.showNoMoreLine && c.finalStatus === a.M.NoMore
    }, c.c.showNoMoreLine && c.finalStatus === a.M.NoMore ? {
        s: t.s({
            backgroundColor: a.zTheme.line[c.ts]
        }),
        t: t.s(c.c.noMoreLineCustomStyle)
    } : {}), {
        v: t.s(c.c.customStyle),
        w: t.o(function() {
            return c.doClick && c.doClick.apply(c, arguments);
        })
    });
} ], [ "__scopeId", "data-v-c03fffc1" ] ]);

wx.createComponent(i);